#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "cli_resp.h"
#include "externs.h"
#include "cli_const.h"
#include "cli_helper.h"






//prototypes
bool logInToServer(void); 
bool enterPassiveMode(void);
RESP *sendAndReceive(char*, int);
bool isWrongCode(int, RESP*);
